package com.lanou.demo.backgrounddemo.service;

import com.lanou.entity.entity.ContentCategoryEntity;
import com.lanou.entity.entity.TreeEntity;

import java.util.List;

/**
 * Created by 常宏盛
 * Date: 2019/7/12 14:48
 **/
public interface ContentCategoryService {

    List<TreeEntity> list(Long parentId);

    int create(ContentCategoryEntity contentCategory);

    void update(Long id, String name);

    void delete(Long id);

}
